home *** CD-ROM | disk | FTP | other *** search
- 184
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- SendMsg
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSendMsg sends a Windows message to a window.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baSendMsg( WindowHandle , Message , wParam , lParam , Wait )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer, Integer, Integer, Integer, Integer.
- --- RECORDSEPARATOR ---
- WindowHandle is the handle of the window to send the message to.
- --- RECORDSEPARATOR ---
- Message is the message to send.
- --- RECORDSEPARATOR ---
- wParam is additional message information.
- --- RECORDSEPARATOR ---
- lParam is additional message information.
- --- RECORDSEPARATOR ---
- If Wait is true, execution is paused until the window processes the message.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- If Wait is true, the return value specifies the result of the message processing and
- --- RECORDSEPARATOR ---
- depends on the message sent.
- --- RECORDSEPARATOR ---
- If Wait is false, returns 1 is the message was successfully posted to the window,
- --- RECORDSEPARATOR ---
- else 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set Result = baSendMsg( 65535, 26 , 0, 0, true ) --
- --- RECORDSEPARATOR ---
- send a WM_WININCHANGE
- --- RECORDSEPARATOR ---
- message to all w
- --- RECORDSEPARATOR ---
- indows.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- Result := baSendMsg( 65535, 26, 0, 0, true )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- To use this function, you will need access to Windows API information about
- --- RECORDSEPARATOR ---
- messages.